/**
 * Free software.
 */

package org.nanhill.commons.model.tree;

/**
 * Test category domain.
 * 
 * @author alin [xalinx at gmail dot com]
 * @date 2007-4-15
 */
public interface Category extends TreeNode<Category> {
	long getId();

	String getName();

	/**
	 * Get pathname, contain self, order by parent to child.
	 * 
	 * e.g: it >> computer >> notebook
	 * 
	 * @return
	 */
	String getPathname();
}
